package com.project.hqshorttaxi.service;

import com.project.hqshorttaxi.dto.BlackListParam;
import com.project.hqshorttaxi.entity.BlackList;

import java.util.List;

public interface BlackListService {

    BlackList getById(Integer id);

    void insert(BlackList entity) throws Exception;

    void update(BlackList entity) throws Exception;

    void delete(Integer id) throws Exception;

    List<BlackList> list(BlackListParam param);
}
